<template>
  <div class="goods">
    <el-container style="height: 100%; border: 1px solid #eee">
      <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
        <my-leftnav :url="this.$route.path.slice(1)"></my-leftnav>
      </el-aside>
      <el-main><router-view /></el-main>
    </el-container>
  </div>
</template>
<script>
import LeftNav from '../components/leftNav'
export default {
  components: {
    'my-leftnav': LeftNav
  }
}
</script>
<style lang="less" scoped>
.goods {
  height: 100%;
}
</style>
